package com.liukai.exam1.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 填空题题库
 * </p>
 *
 * @author liu kai
 * @since 2021-02-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("FILL_QUESTION")
@ApiModel(value="FillQuestion对象", description="填空题题库")
public class FillQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "试卷编号")
        @TableId(value = "EXAM_ID", type = IdType.ID_WORKER)
    private Long examId;

        @ApiModelProperty(value = "题目编号")
        @TableField("QUESTION_ID")
    private Integer questionId;

        @ApiModelProperty(value = "大题编号")
        @TableField("BIG_QUESTION_INDEX")
    private Integer bigQuestionIndex;

        @ApiModelProperty(value = "题目图片")
        @TableField("QUESTION_IMG")
    private String questionImg;

        @ApiModelProperty(value = "题目解析")
        @TableField("ANALYSIS")
    private String analysis;

        @ApiModelProperty(value = "解析图片")
        @TableField("ANALYSIS_IMG")
    private String analysisImg;

        @ApiModelProperty(value = "正确答案（每个答案用丨开）")
        @TableField("TRUE_ANSWER")
    private String trueAnswer;

        @ApiModelProperty(value = "最终答案（每个答案用丨开）")
        @TableField("END_ANSWER")
    private String endAnswer;

        @ApiModelProperty(value = "题目类型，每个空需不需要按照顺序填写（0不需要，1需要）")
        @TableField("QUESTION_TYPE")
    private Integer questionType;

        @ApiModelProperty(value = "每个空的分数（用丨隔开）")
        @TableField("SELF_SCORE")
    private String selfScore;

        @ApiModelProperty(value = "每个题的最后得分（用丨隔开）")
        @TableField("END_SCORE")
    private String endScore;


}
